package com.ruoyi.classify.domain;

import java.time.LocalDate;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容标签关联对象 hs_content_tag
 * 
 * @author lzk
 * @date 2025-06-17
 */
@Schema(description = "内容标签关联对象")
public class HsContentTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Schema(title = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 主题ID */
    @Schema(title = "主题ID")
    @Excel(name = "主题ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long topicId;

    /** 用户标签ID，关联user_tags_info表 */
    @Schema(title = "用户标签ID，关联user_tags_info表")
    @Excel(name = "用户标签ID，关联user_tags_info表")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userTagId;

    /** 表前名称，仅做接收tag_name显示给用户看*/
    @Schema(title = "标签名称")
    @Excel(name = "标签名称")
    private String tagName;

    /** 关键词，逗号分隔 */
    @Schema(title = "关键词，逗号分隔")
    @Excel(name = "关键词，逗号分隔")
    private String keywords;

    /** 标签来源：1-AI自动标注，2-人工标注 */
    @Schema(title = "标签来源：1-AI自动标注，2-人工标注")
    @Excel(name = "标签来源：1-AI自动标注，2-人工标注")
    private Long tagSource;

    /** 是否已验证：0-未验证，1-已验证 */
    @Schema(title = "是否已验证：0-未验证，1-已验证")
    @Excel(name = "是否已验证：0-未验证，1-已验证")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long isVerified;

    /** 创建者 */
    @Schema(title = "创建者")
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @Schema(title = "创建时间")
    @Excel(name = "创建时间")
    private LocalDate createdTime;

    /** 更新者 */
    @Schema(title = "更新者")
    @Excel(name = "更新者")
    private String updatedBy;

    /** 更新时间 */
    @Schema(title = "更新时间")
    @Excel(name = "更新时间")
    private LocalDate updatedTime;

    /** 删除标志 */
    @Schema(title = "删除标志")
    private String delFlag;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }


    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }


    public void setUserTagId(Long userTagId) 
    {
        this.userTagId = userTagId;
    }

    public Long getUserTagId() 
    {
        return userTagId;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }


    public void setTagSource(Long tagSource) 
    {
        this.tagSource = tagSource;
    }

    public Long getTagSource() 
    {
        return tagSource;
    }


    public void setIsVerified(Long isVerified) 
    {
        this.isVerified = isVerified;
    }

    public Long getIsVerified() 
    {
        return isVerified;
    }


    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }


    public void setCreatedTime(LocalDate createdTime) 
    {
        this.createdTime = createdTime;
    }

    public LocalDate getCreatedTime() 
    {
        return createdTime;
    }


    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }


    public void setUpdatedTime(LocalDate updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public LocalDate getUpdatedTime() 
    {
        return updatedTime;
    }


    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topicId", getTopicId())
            .append("userTagId", getUserTagId())
            .append("keywords", getKeywords())
            .append("tagSource", getTagSource())
            .append("isVerified", getIsVerified())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
